package de.tsajar.es.position;

import com.simsilica.es.ComponentFilter;
import com.simsilica.es.EntityComponent;
import com.simsilica.es.EntityId;
import com.simsilica.es.base.MapComponentHandler;
import java.util.Set;

/**
 * @deprecated @author Eike Foede
 */
public class PositionHandler extends MapComponentHandler {

    @Override
    public void setComponent(EntityId entityId, EntityComponent component) {
        //TODO: insert into organized mapping
        super.setComponent(entityId, component);
    }

    @Override
    public boolean removeComponent(EntityId entityId) {
        //TODO: remove from organized mapping
        return super.removeComponent(entityId);
    }

    @Override
    public Set getEntities(ComponentFilter filter) {
        //TODO: Optimized way to retrieve entities
        return super.getEntities(filter);
    }
}
